package com.bes.opslink.aiops.server.api.dto;

import com.bes.opslink.aiops.commons.dto.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * DTO对象
 */
@Data
@Schema(title = "模拟信息")
public class DemoDTO extends BaseDTO {
    /**
     * identifier
     */
    @Schema(name = "id字符")
    private Long id;

    /**
     * 字段
     */
    @NotNull
    @Length (max = 64)
    @Schema(name = "字符1")
    private String vfield1;

    /**
     * 字段
     */
    @NotNull
    @Length (max = 64)
    @Schema(name = "字符2")
    private String vfield2;
}
